import { Notebook } from '@element-plus/icons-vue'

export default {
  meta: {
    title: '地址簿',
    requiresAuth: true,
    icon: Notebook,
    roles: ['customer'],
    order: 3
  },
  children: [
    {
      path: 'add',
      name: 'AddAddress',
      component: () => import('./add.vue'),
      meta: {
        title: '新增地址',
        requiresAuth: true,
        roles: ['customer'],
        hideInMenu: true  // 在导航栏中隐藏
      }
    }
  ]
}